import { DEFAULT_LAYOUT } from '../base'
import { AppRouteRecordRaw } from '../types'
const Agreement: AppRouteRecordRaw = {
  path: '/financial',
  name: 'financial',
  component: DEFAULT_LAYOUT,
  meta: {
    locale: '财务',
    icon: 'icon-bookmark',
    requiresAuth: true,
    order: 10,
  },
  children: [
    {
      path: '/financial/settle',
      name: 'financialSettle',
      component: () => import('@/views/financial/settle.vue'),
      meta: {
        locale: '商户结算单',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: '/financial/commission',
      name: 'financialcommission',
      component: () => import('@/views/financial/commission.vue'),
      meta: {
        locale: '佣金结算单',
        requiresAuth: true,
        roles: ['*'],
      },
    },
  ],
}

export default Agreement
